/*
 * @Author: Trae AI
 * @Date: 2024-01-15
 * @Description: AI聊天DTO
 */
import { IsNotEmpty, IsString } from 'class-validator';

export class ChatDto {
  /* 用户输入的消息 */
  @IsNotEmpty({ message: '消息内容不能为空' })
  @IsString()
  message: string;
}